all-statemachine:
	gcc statemachine/statemachine.c -I./include -shared -o lib/libstatemachine.so

clean-statemachine:
	rm -f lib/libstatemachine.so
      
all:
	make prepare
	make all-statemachine

clean:
	make clean-statemachine
	rm -rf bin lib

prepare:
	mkdir bin lib
